package com.feicheng.iou.service;

import com.feicheng.iou.entity.PaymentOptions;
import com.feicheng.iou.entity.ProjectService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.iou.result.ResultInfoV110;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface ProjectServiceService extends IService<ProjectService> {

    //查询服务列表(不带分页)
    ResultInfoV110 selectProjectServiceList();

    //查询服务列表(不带分页)
    ResultInfoV110 selectProjectServiceListPage(Integer page,Integer size,ProjectService projectService);

    //根据id查询单个服务
    ProjectService selectProjectServiceByid(Integer id);

    //添加服务项目
    ResultInfoV110 insert(ProjectService projectService);

    //修改服务项目信息
    ResultInfoV110 update(ProjectService projectService);

    //删除服务项目
    ResultInfoV110 delete(Integer projectServiceId);

    //服务项目开启关闭
    ResultInfoV110 updateStatus(Integer projectServiceId,boolean status);
}
